//
//  MoiveinfoModel.h
//  movieInfo
//
//  Created by zhangkai on 2023/5/28.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface MoiveinfoModel : NSObject

@property(strong,nonatomic)NSString *title;
@property(strong,nonatomic)NSString *rate;
@property(strong,nonatomic)NSString *id;
@property(strong,nonatomic)NSString *cover;
@property(strong,nonatomic)NSString *time;
@property(strong,nonatomic)NSString *descr;
@property(strong,nonatomic)NSArray *tags;
@property(strong,nonatomic)NSString *playUrl;
@property(strong,nonatomic)NSString *source;
@property(strong,nonatomic)NSString *server;
@property(strong,nonatomic)NSString *country;
@property(assign,nonatomic)NSInteger mediaType;
@property(strong,nonatomic)NSDictionary *currentSession;
@property(assign,nonatomic)NSInteger sessionIndex;
@property(strong,nonatomic)NSArray *sessionArr;
@property(strong,nonatomic)NSArray *subtitleArr;
@property(strong,nonatomic)NSDictionary *subtitle;
@property(strong,nonatomic)NSArray *categoryArr;

@property(strong,nonatomic)NSString *viewsCount;
@property(strong,nonatomic)NSString *movieCount;

@property(strong,nonatomic)NSArray *movieArr;
@property(strong,nonatomic)NSArray *conditionArr;
@property(assign,nonatomic)NSInteger downloadStatus;

@property(assign,nonatomic)NSInteger isFavourite;
@property(assign,nonatomic)NSInteger isWatchSave;




//var title:String = "" //电影时表示电影名，演员表时表示演员名
//var rate:String  = ""
//var id:String = ""    //电影时表示电影id，演员表时表示演员id
//var cover:String = "" //电影时表示电影cover，演员表时表示演员cover
//var time:String = ""
//var descr:String = ""
//var tags:[String] = []
//var playUrl:String = ""
//var source:String = ""
//var server:String = ""
//var country:String = ""
//var mediaType:MediaType = .movie
//var currentSession:SessionInfo = SessionInfo() //电视剧当前季
//var sessionIndex:Int = 0
//var sessionArr:[SessionInfo] = [] //电视剧的所有季
//var subtitleArr:[SubtitleInfo] = []//字幕组
//var subtitle:SubtitleInfo = SubtitleInfo()//字幕
////适用于电影详情，categoryArr是详情相关的电影分类，
//var categoryArr:[CategoryInfo] = [] //电影相关连，演员
////集合时
//var movieCount = ""
//var viewsCount = ""
//var movieArr:[CategoryDetailInfo] = []
////适用于电影详情，conditionArr是详情相关的检索条件数组
//var conditionArr:[ConditionCategoryInfo] = []
//var downloadStatus:DownloadStatus = .not  //电影是否被下载
//var isFavourite:Bool = false //电影是否被收藏
//var isWatchSave:Bool = false //电影稍后观看是否已经添加
//
//var viewsW = 0
//var viewsH = 0




@end

NS_ASSUME_NONNULL_END
